//蛇中的一节身体

export class Cell{
    constructor(r,c) {
        this.r = r;
        this.c = c;
        this.x = c+ 0.5;
        this.y = r+ 0.5;//圆心

        this.x_way_now = 0;
        this.y_way_now = 0;
        this.x_way_next = 0;
        this.y_way_next = 0;
    }
}